package ShiTi;

/**
 * 商品实体类
 * 存储商品的基本信息，包括商品标识、名称、价格等
 */
public class ShangPin {
    private String biaoShi;    // 商品唯一标识
    private String mingCheng;  // 商品名称
    private double jiage;      // 商品价格
    private int kuCun;         // 库存数量
    private String miaoShu;    // 商品描述

    // Getters and Setters
    public String getBiaoShi() { return biaoShi; }
    public void setBiaoShi(String biaoShi) { this.biaoShi = biaoShi; }
    
    public String getMingCheng() { return mingCheng; }
    public void setMingCheng(String mingCheng) { this.mingCheng = mingCheng; }
    
    public double getJiaGe() { return jiage; }
    public void setJiaGe(double jiage) { this.jiage = jiage; }
    
    public int getKuCun() { return kuCun; }
    public void setKuCun(int kuCun) { this.kuCun = kuCun; }
    
    public String getMiaoShu() { return miaoShu; }
    public void setMiaoShu(String miaoShu) { this.miaoShu = miaoShu; }
} 